package customview.com.imageselectordemo;

import android.app.Application;

import cn.finalteam.galleryfinal.CoreConfig;
import cn.finalteam.galleryfinal.FunctionConfig;
import cn.finalteam.galleryfinal.GalleryFinal;
import cn.finalteam.galleryfinal.ThemeConfig;
import customview.com.imageselectordemo.GalleryFinall.GalleryFinalConfig;

/**
 * Created by Administrator on 2017/2/23.
 */
public class App extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

    }

    //配置 GalleryFianll图库
    private void ConfigGalleryFianl() {


        ThemeConfig theme = GalleryFinalConfig.getDefaultTheme(this);


        FunctionConfig functionConfig = GalleryFinalConfig.getDefaultFunctionConfig().build();

//配置imageloader

        CoreConfig coreConfig = GalleryFinalConfig.getDefaultCoreConfig(this, theme, functionConfig);


        GalleryFinal.init(coreConfig);
    }


}
